<template>
  <div>
    <el-cascader 
      :options="cityLists" 
      v-model="value" 
      expand-trigger="hover" 
      :props="cityProps" 
      @change="handleChange" 
      :disabled="disabled" 
      v-if="currentData.length == 0"></el-cascader>
    <el-cascader 
      v-else 
      :options="cityLists" 
      v-model="currentData"
      expand-trigger="hover" 
      :props="cityProps" 
      @change="handleChange" 
      :disabled="currentData.length > 0 ? true : false"></el-cascader>
  </div>
</template>

<script src="./index.js"></script>
